-
Notifications
You must be signed in to change notification settings - Fork 2
Correct sed(1) RE to extract version from the Gnuton FW filename. #499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct sed(1) RE to extract version from the Gnuton FW filename. #499
Conversation
So far, I've seen `ubi`, `nand_squashfs`, and `puresqubi`. While I'm at it, tighten up the REs. Fixes updating models such as the ZenWiFi XT8 (RT-AX95Q) that use `puresqubi` or `nand_squashfs` images.
|
@cdavis5e this is good! Thanks for this catch! |
|
Doing a code review of this, I'm thinking this PR might end up conflicting a bit with my open PR: #498 The reason is that I am rolling us back to using the long version with -gnuton(x) and this PR would strip the -gnuton(x) from the returned version. Any thoughts or input? |
|
In the function of: GetLatestFWUpdateVersionFromGitHub But if I merge this PR in as is; then the variable: urlVersion would return without the -gnuton1 suffix, and the final match would fail: @cdavis5e can you also modify this so it wouldn't conflict with the upcoming planned PR to return the long version (-gnuton1 suffix included) |
Yeah, that would be the best way to integrate the fixes in this PR. |
Great catch WRT the different file names/extensions!! |
It's a small tweak to make, but otherwise I agree. It's clear to me because I'm only testing with a ubi router from Gnuton. Perfect example of why "it works for me" doesn't always cut it 😜 |
Exactly, LOL!!! A similar situation happened with scMerlin's "WAN Uptime" feature, where we missed the "Dual WAN with Failover" setup because we don't have it to test and validate with. That's why Beta testing with external users is so critical. |
It's so so true. Without a proper diverse user base that's actually providing useful feedback (that last bit on useful feedback is key) you can spin your tires in the mud. Even though 90-95% of people may not have that setup at home. As soon as a user mentioned the Dual WAN setup I went. "Oh yeah that's a totally valid configuration I didn't even think about". "Worked for me" up until that point too 😜 but can always be improved! |
ExtremeFiretop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes Required to not conflict with PR: 498
Yeah, that's fair. There was plenty of time to reply, even if it had been just a simple: "I don't have time at the moment." |
So far, I've seen
ubi,nand_squashfs, andpuresqubi. While I'm at it, tighten up the REs.Fixes updating models such as the ZenWiFi XT8 (RT-AX95Q) that use
puresqubiornand_squashfsGnuton images.